home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Tools / MPW / indent 1.8 / Indent.r < prev    next >
Encoding:
Text File  |  1994-01-19  |  18.4 KB  |  870 lines  |  [TEXT/MPS ]

  1. /*
  2.  *    Indent.r for GNU Indent
  3.  *
  4.  *    Based on Roberto Avanzi's
  5.  *    but totally revamped by Franklin Chen
  6.  *
  7.  *    Tue, Apr 6, 1993    Version 1.7
  8.  *    Wed, Jan 19, 1994    Version 1.8
  9.  */
  10.  
  11. #include "SysTypes.r"
  12. #include "Cmdo.r"
  13.  
  14. resource 'vers' (1) {
  15.     0x1,
  16.     0x80,
  17.     release,
  18.     0x0,
  19.     verUS,
  20.     "1.8",
  21.     "1.8 © 1986-93 U.I., U.C., Sun, FSF, Inc., J. Arcenaux\nMPW port by R. Avanzi, F. Chen"
  22. };
  23.  
  24. resource 'vers' (2) {
  25.     0x1,
  26.     0x80,
  27.     release,
  28.     0x0,
  29.     verUS,
  30.     "1.8",
  31.     "GNU for MPW"
  32. };
  33.  
  34. resource 'cmdo' (128) {
  35.     {    /* array dialogs: 7 elements */
  36.         /* [1] */
  37.         300,
  38.         "Indent -- GNU Indent changes the appeara"
  39.         "nce of C code by inserting or deleting w"
  40.         "hitespace. It can be used to make code m"
  41.         "ore readable or to convert from one writ"
  42.         "ing style to another.",
  43.         {    /* array itemArray: 18 elements */
  44.             /* [1] */
  45.             NotDependent {
  46.  
  47.             },
  48.             RadioButtons {
  49.                 {    /* array radioArray: 2 elements */
  50.                     /* [1] */
  51.                     {20, 13, 36, 155}, "Several input files", "", Set, "Indent several input files, making a bac"
  52.                     "kup copy of each and replacing each orig"
  53.                     "inal file with its indented version.  If"
  54.                     " you wish to write to an output file or "
  55.                     "standard output, please select a single "
  56.                     "file from 'Single input file' below.",
  57.                     /* [2] */
  58.                     {43, 13, 59, 155}, "Single input file", "", NotSet, "Indent only one input file. In this case"
  59.                     ", or when the standard input is used, yo"
  60.                     "u may specify an output file."
  61.                 }
  62.             },
  63.             /* [2] */
  64.             Or {
  65.                 {    /* array OrArray: 1 elements */
  66.                     /* [1] */
  67.                     4097
  68.                 }
  69.             },
  70.             MultiFiles {
  71.                 "Input Files…",
  72.                 "Select several input files to indent.",
  73.                 {20, 164, 36, 271},
  74.                 "Files to indent:",
  75.                 "",
  76.                 MultiInputFiles {
  77.                     {    /* array MultiTypesArray: 1 elements */
  78.                         /* [1] */
  79.                         text
  80.                     },
  81.                     ".c",
  82.                     "Only files that end in .c",
  83.                     "All text files"
  84.                 }
  85.             },
  86.             /* [3] */
  87.             Or {
  88.                 {    /* array OrArray: 1 elements */
  89.                     /* [1] */
  90.                     8193
  91.                 }
  92.             },
  93.             Files {
  94.                 InputFile,
  95.                 OptionalFile {
  96.                     {0, 0, 0, 0},
  97.                     {43, 164, 59, 270},
  98.                     "",
  99.                     "Standard input",
  100.                     "",
  101.                     "",
  102.                     "Choose a single input file; the default "
  103.                     "is standard input.",
  104.                     dim,
  105.                     "Standard Input",
  106.                     "Select a file…",
  107.                     ""
  108.                 },
  109.                 Additional {
  110.                     "",
  111.                     ".c",
  112.                     "Only files that end in .c",
  113.                     "All text files",
  114.                     {    /* array TypesArray: 1 elements */
  115.                         /* [1] */
  116.                         text
  117.                     }
  118.                 }
  119.             },
  120.             /* [4] */
  121.             Or {
  122.                 {    /* array OrArray: 1 elements */
  123.                     /* [1] */
  124.                     8193
  125.                 }
  126.             },
  127.             Files {
  128.                 InputOrOutputFile,
  129.                 OptionalFile {
  130.                     {63, 44, 79, 124},
  131.                     {79, 30, 96, 149},
  132.                     "Output file",
  133.                     "Replace original",
  134.                     "-o",
  135.                     "",
  136.                     "Select the destination for the indented "
  137.                     "input.",
  138.                     dim,
  139.                     "Replace original (keep a backup)",
  140.                     "Write to existing file…",
  141.                     "Write to new file…"
  142.                 },
  143.                 Additional {
  144.                     "",
  145.                     ".c",
  146.                     "Only files that end in .c",
  147.                     "All text files",
  148.                     {    /* array TypesArray: 1 elements */
  149.                         /* [1] */
  150.                         text
  151.                     }
  152.                 }
  153.             },
  154.             /* [5] */
  155.             Or {
  156.                 {    /* array OrArray: 1 elements */
  157.                     /* [1] */
  158.                     8193
  159.                 }
  160.             },
  161.             CheckOption {
  162.                 NotSet,
  163.                 {72, 164, 90, 292},
  164.                 "Write to StdOut",
  165.                 "-st",
  166.                 "[--standard-output] Write to standard ou"
  167.                 "tput."
  168.             },
  169.             /* [6] */
  170.             And {
  171.                 {    /* array AndArray: 2 elements */
  172.                     /* [1] */
  173.                     8193,
  174.                     /* [2] */
  175.                     -3
  176.                 }
  177.             },
  178.             Redirection {
  179.                 StandardInput,
  180.                 {27, 335}
  181.             },
  182.             /* [7] */
  183.             Or {
  184.                 {    /* array OrArray: 1 elements */
  185.                     /* [1] */
  186.                     8193
  187.                 }
  188.             },
  189.             Redirection {
  190.                 StandardOutput,
  191.                 {66, 335}
  192.             },
  193.             /* [8] */
  194.             NotDependent {
  195.  
  196.             },
  197.             Redirection {
  198.                 DiagnosticOutput,
  199.                 {105, 335}
  200.             },
  201.             /* [9] */
  202.             NotDependent {
  203.  
  204.             },
  205.             TextBox {
  206.                 gray,
  207.                 {20, 327, 144, 464},
  208.                 "Redirection"
  209.             },
  210.             /* [10] */
  211.             NotDependent {
  212.  
  213.             },
  214.             RadioButtons {
  215.                 {    /* array radioArray: 3 elements */
  216.                     /* [1] */
  217.                     {117, 20, 135, 74}, "GNU", " -gnu", Set, "[--gnu-style] Use GNU coding style. This"
  218.                     " is the default. Equivalent to:\n-nbad -n"
  219.                     "bap -nbbb -nbc -bl -bli2 -c33 -cd33 -ncd"
  220.                     "b -nce -cli0 -cp1 -di0 -nfc1 -nfca -i2 -"
  221.                     "ip5 -lp -pcs -psl -nsc -nsob -nss -ts8",
  222.                     /* [2] */
  223.                     {117, 80, 135, 134}, "K&R", " -kr", NotSet, "[--k-and-r-style] Use Kernighan & Ritchi"
  224.                     "e coding style. Equivalent to:\n-nbad -ba"
  225.                     "p -nbbb -nbc -br -c33 -cd33 -ncdb -ce -c"
  226.                     "i4 -cli0 -cp33 -d0 -di1 -nfc1 -nfca -i4 "
  227.                     "-ip0 -l75 -lp -npcs -npsl -nsc -nsob -ns"
  228.                     "s -ts8",
  229.                     /* [3] */
  230.                     {117, 140, 135, 194}, "UCB", " -orig", NotSet, "[--original] Use original Berkeley codin"
  231.                     "g style. Equivalent to:\n-nbap -nbad -nbb"
  232.                     "b -bc -br -c33 -cd33 -cdb -ce -ci4 -cli0"
  233.                     " -cp33 -d4 -di16 -fc1 -fca -i4 -ip4 -l75"
  234.                     " -lp -npcs -psl -sc -nsob -nss -ts8"
  235.                 }
  236.             },
  237.             /* [11] */
  238.             NotDependent {
  239.  
  240.             },
  241.             TextBox {
  242.                 gray,
  243.                 {109, 14, 139, 201},
  244.                 "Common Styles"
  245.             },
  246.             /* [12] */
  247.             NotDependent {
  248.  
  249.             },
  250.             NestedDialog {
  251.                 2,
  252.                 {149, 24, 168, 138},
  253.                 "Blank lines…",
  254.                 "Choose this button to set options contro"
  255.                 "lling the use of blank lines."
  256.             },
  257.             /* [13] */
  258.             NotDependent {
  259.  
  260.             },
  261.             NestedDialog {
  262.                 3,
  263.                 {171, 24, 189, 138},
  264.                 "Comments…",
  265.                 "Choose this button to set options contro"
  266.                 "lling the formatting of comments."
  267.             },
  268.             /* [14] */
  269.             NotDependent {
  270.  
  271.             },
  272.             NestedDialog {
  273.                 4,
  274.                 {149, 174, 168, 288},
  275.                 "Statements…",
  276.                 "Choose this button to set options contro"
  277.                 "lling the positioning of braces and form"
  278.                 "atting of statements."
  279.             },
  280.             /* [15] */
  281.             NotDependent {
  282.  
  283.             },
  284.             NestedDialog {
  285.                 5,
  286.                 {171, 174, 189, 288},
  287.                 "Declarations…",
  288.                 "Choose this button to set options contro"
  289.                 "lling the formatting of declarations."
  290.             },
  291.             /* [16] */
  292.             NotDependent {
  293.  
  294.             },
  295.             NestedDialog {
  296.                 6,
  297.                 {149, 333, 168, 447},
  298.                 "Indentation…",
  299.                 "Choose this button to set options contro"
  300.                 "lling levels of indentation."
  301.             },
  302.             /* [17] */
  303.             NotDependent {
  304.  
  305.             },
  306.             NestedDialog {
  307.                 7,
  308.                 {171, 333, 189, 447},
  309.                 "Other options…",
  310.                 "Choose this button to set other options."
  311.             },
  312.             /* [18] */
  313.             NotDependent {
  314.  
  315.             },
  316.             VersionDialog {
  317.                 VersionString {
  318.                     "1.8"
  319.                 },
  320.                 "MPW port by Roberto Avanzi <gandalf"
  321.                 "@sabrina.dei.unipd.it> (v1.4-1.7). Updat"
  322.                 "ed to 1.8 by Franklin Chen <chen@adi.com>.",
  323.                 noDialog
  324.             }
  325.         },
  326.         /* [2] */
  327.         203,
  328.         "Blank lines. Note that setting or unsett"
  329.         "ing any of these options will override t"
  330.         "he corresponding settings from 'Indent P"
  331.         "refs'.",
  332.         {    /* array itemArray: 4 elements */
  333.             /* [1] */
  334.             NotDependent {
  335.  
  336.             },
  337.             TriStateButtons {
  338.                 "",
  339.                 {    /* array threeStateArray: 1 elements */
  340.                     /* [1] */
  341.                     {22, 33, 38, 271}, "After blocks of declarations", "-nbad", "", "-bad", "[--blank-lines-after-declarations] Force"
  342.                     " a blank line after every block of decla"
  343.                     "rations. DEFAULTS: -nbad, -nbad, -nbad"
  344.                 }
  345.             },
  346.             /* [2] */
  347.             NotDependent {
  348.  
  349.             },
  350.             TriStateButtons {
  351.                 "",
  352.                 {    /* array threeStateArray: 1 elements */
  353.                     /* [1] */
  354.                     {39, 33, 55, 271}, "After procedure bodies", "-nbap", "", "-bap", "[--blank-lines-after-procedures] Force a"
  355.                     " blank line after every procedure body. DEFAULTS: -bap, -bap, -nbap"
  356.                 }
  357.             },
  358.             /* [3] */
  359.             NotDependent {
  360.  
  361.             },
  362.             TriStateButtons {
  363.                 "",
  364.                 {    /* array threeStateArray: 1 elements */
  365.                     /* [1] */
  366.                     {56, 33, 72, 271}, "After block comments", "-nbbb", "", "-bbb", "[--blank-lines-after-block-comments] For"
  367.                     "ce a blank line after every block commen"
  368.                     "t. DEFAULTS: -nbbb, -nbbb, -nbbb"
  369.                 }
  370.             },
  371.             /* [4] */
  372.             NotDependent {
  373.  
  374.             },
  375.             TriStateButtons {
  376.                 "",
  377.                 {    /* array threeStateArray: 1 elements */
  378.                     /* [1] */
  379.                     {73, 33, 89, 271}, "Swallow optional blank lines", "-nsob", "", "-sob", "[--swallow-optional-blank-lines] Swallow"
  380.                     " optional blank lines. DEFAULTS: -nsob, -nsob, -nsob"
  381.                 }
  382.             }
  383.         },
  384.         /* [3] */
  385.         241,
  386.         "Comments. Note that setting or unsetting"
  387.         " any of these options will override the "
  388.         "corresponding settings from 'Indent Pref"
  389.         "s'.",
  390.         {    /* array itemArray: 9 elements */
  391.             /* [1] */
  392.             NotDependent {
  393.  
  394.             },
  395.             TriStateButtons {
  396.                 "",
  397.                 {    /* array threeStateArray: 1 elements */
  398.                     /* [1] */
  399.                     {29, 13, 45, 223}, "Enable comment formatting", "-nfca", "", "-fca", "[--format-all-comments] Do not disable a"
  400.                     "ll formatting of comments. DEFAULTS: -nfca, -nfca, -fca"
  401.                 }
  402.             },
  403.             /* [2] */
  404.             NotDependent {
  405.  
  406.             },
  407.             TriStateButtons {
  408.                 "",
  409.                 {    /* array threeStateArray: 1 elements */
  410.                     /* [1] */
  411.                     {60, 13, 76, 223}, "Comments in first column", "-nfc1", "", "-fc1", "[--format-first-column-comments] Format "
  412.                     "comments beginning in the first column. DEFAULTS: -nfc1, -nfc1, -fc1"
  413.                 }
  414.             },
  415.             /* [3] */
  416.             NotDependent {
  417.  
  418.             },
  419.             TriStateButtons {
  420.                 "",
  421.                 {    /* array threeStateArray: 1 elements */
  422.                     /* [1] */
  423.                     {80, 13, 96, 223}, "Delimiters on blank lines", "-ncdb", "", "-cdb", "[--comment-delimiters-on-blank-lines] Pu"
  424.                     "t comment delimiters (‘/*’ and ‘*/’) on "
  425.                     "blank lines. DEFAULTS: -ncdb, -ncdb, -cdb"
  426.                 }
  427.             },
  428.             /* [4] */
  429.             NotDependent {
  430.  
  431.             },
  432.             TriStateButtons {
  433.                 "",
  434.                 {    /* array threeStateArray: 1 elements */
  435.                     /* [1] */
  436.                     {100, 13, 116, 223}, "‘*’ at left of comments", "-nsc", "", "-sc", "[--start-left-side-of-comments] Put '*' "
  437.                     "at the left edge of all comments. DEFAULTS: -nsc, -nsc, -sc"
  438.                 }
  439.             },
  440.             /* [5] */
  441.             NotDependent {
  442.  
  443.             },
  444.             RegularEntry {
  445.                 "On own line",
  446.                 {33, 245, 51, 400},
  447.                 {32, 429, 48, 454},
  448.                 "",
  449.                 keepCase,
  450.                 "-d",
  451.                 "[--line-comments-indentation<n>] Set the"
  452.                 " indentation of comments not to the righ"
  453.                 "t of code to <n> spaces. DEFAULTS: , -d0, -d4"
  454.             },
  455.             /* [6] */
  456.             NotDependent {
  457.  
  458.             },
  459.             RegularEntry {
  460.                 "After code",
  461.                 {55, 245, 73, 400},
  462.                 {55, 429, 70, 454},
  463.                 "33",
  464.                 keepCase,
  465.                 "-c",
  466.                 "[--comment-indentation<n>] Put comments "
  467.                 "to the right of code in column <n>. DEFAULTS: -c33, -c33, -c33"
  468.             },
  469.             /* [7] */
  470.             NotDependent {
  471.  
  472.             },
  473.             RegularEntry {
  474.                 "After declarations",
  475.                 {77, 245, 93, 400},
  476.                 {77, 429, 90, 454},
  477.                 "33",
  478.                 keepCase,
  479.                 "-cd",
  480.                 "[--declaration-comment-column<n>] Put co"
  481.                 "mments to the right of declarations in c"
  482.                 "olumn <n>. The default is the column for"
  483.                 " comments to the right of code. DEFAULTS: -cd33, -cd33, -cd33"
  484.             },
  485.             /* [8] */
  486.             NotDependent {
  487.  
  488.             },
  489.             RegularEntry {
  490.                 "After ‘#else’ and ‘#endif’",
  491.                 {97, 245, 113, 423},
  492.                 {97, 429, 111, 454},
  493.                 "1",
  494.                 keepCase,
  495.                 "-cp",
  496.                 "[--else-endif-column<n>] Put comments to"
  497.                 " the right of #else and #endif statement"
  498.                 "s in column <n>. DEFAULTS: -cp1, -cp33, -cp33"
  499.             },
  500.             /* [9] */
  501.             NotDependent {
  502.  
  503.             },
  504.             TextBox {
  505.                 gray,
  506.                 {23, 238, 124, 468},
  507.                 "Indent to column…"
  508.             }
  509.         },
  510.         /* [4] */
  511.         239,
  512.         "Statements.",
  513.         {    /* array itemArray: 10 elements */
  514.             /* [1] */
  515.             NotDependent {
  516.  
  517.             },
  518.             TriStateButtons {
  519.                 "",
  520.                 {    /* array threeStateArray: 1 elements */
  521.                     /* [1] */
  522.                     {37, 28, 53, 170}, "Brace positioning", "-bl", "", "-br", "(Clear) [-bl, --braces-after-if-line] Put bra"
  523.                     "ces line after ‘if’, etc. (Set) [-br, --braces-on-"
  524.                     "if-line] Put braces on same line as if, "
  525.                     "etc. DEFAULTS: -bl, -br, -br"
  526.                 }
  527.             },
  528.             /* [2] */
  529.             NotDependent {
  530.  
  531.             },
  532.             RegularEntry {
  533.                 "Brace indent",
  534.                 {58, 45, 74, 140},
  535.                 {58, 150, 74, 172},
  536.                 "2",
  537.                 keepCase,
  538.                 "-bli",
  539.                 "[--brace-indent<n>] Indent braces <n> sp"
  540.                 "aces. DEFAULTS: -bli2,,"
  541.             },
  542.             /* [3] */
  543.             NotDependent {
  544.  
  545.             },
  546.             TriStateButtons {
  547.                 "",
  548.                 {    /* array threeStateArray: 1 elements */
  549.                     /* [1] */
  550.                     {80, 28, 96, 148}, "Cuddle else", "-nce", "", "-ce", "[--cuddle-else] Cuddle else and precedin"
  551.                     "g closing brace. DEFAULTS: -nce, -ce, -ce"
  552.                 }
  553.             },
  554.             /* [4] */
  555.             NotDependent {
  556.  
  557.             },
  558.             TextBox {
  559.                 gray,
  560.                 {25, 17, 101, 190},
  561.                 "Braces"
  562.             },
  563.             /* [5] */
  564.             NotDependent {
  565.  
  566.             },
  567.             RegularEntry {
  568.                 "‘Case’ label indent",
  569.                 {107, 17, 124, 154},
  570.                 {107, 161, 123, 183},
  571.                 "0",
  572.                 keepCase,
  573.                 "-cli",
  574.                 "[--case-indentation<n>] Indent case labe"
  575.                 "ls <n> spaces to the right of the contai"
  576.                 "ning ‘switch’ statement. DEFAULTS: -cli0, -cli0, -cli0"
  577.             },
  578.             /* [6] */
  579.             NotDependent {
  580.  
  581.             },
  582.             TriStateButtons {
  583.                 "",
  584.                 {    /* array threeStateArray: 1 elements */
  585.                     /* [1] */
  586.                     {35, 216, 53, 456}, "Before special semicolons", "-nss", "", "-ss", "[--space-special-semicolon] On one-line "
  587.                     "‘for’ and ‘while’ statements, force a bl"
  588.                     "ank before the semicolon. This emphasize"
  589.                     "s that the body of the ‘for’ or ‘while’ "
  590.                     "statement is an empty statment. DEFAULTS: -nss, -nss, -nss"
  591.                 }
  592.             },
  593.             /* [7] */
  594.             NotDependent {
  595.  
  596.             },
  597.             TriStateButtons {
  598.                 "",
  599.                 {    /* array threeStateArray: 1 elements */
  600.                     /* [1] */
  601.                     {57, 216, 74, 459}, "After function calls", "-npcs", "", "-pcs", "[--space-after-procedure-calls] Place a "
  602.                     "space between the name of the function b"
  603.                     "eing called and the ‘(’. DEFAULTS: -pcs, -npcs, -npcs"
  604.                 }
  605.             },
  606.             /* [8] */
  607.             NotDependent {
  608.  
  609.             },
  610.             TriStateButtons {
  611.                 "",
  612.                 {    /* array threeStateArray: 1 elements */
  613.                     /* [1] */
  614.                     {79, 216, 96, 463}, "After cast operator", "-ncs", "", "-cs", "[--space-after-cast] Put a space after a"
  615.                     " cast operator."
  616.                 }
  617.             },
  618.             /* [9] */
  619.             NotDependent {
  620.  
  621.             },
  622.             CheckOption {
  623.                 NotSet,
  624.                 {99, 216, 116, 457},
  625.                 "After ‘sizeof’ operator",
  626.                 "-bs",
  627.                 "[--Bill-Shannon] Put a space between ‘si"
  628.                 "zeof’ and its argument."
  629.             },
  630.             /* [10] */
  631.             NotDependent {
  632.  
  633.             },
  634.             TextBox {
  635.                 gray,
  636.                 {24, 202, 126, 468},
  637.                 "Space…"
  638.             }
  639.         },
  640.         /* [5] */
  641.         225,
  642.         "Declarations.",
  643.         {    /* array itemArray: 4 elements */
  644.             /* [1] */
  645.             NotDependent {
  646.  
  647.             },
  648.             RegularEntry {
  649.                 "Variable declarations",
  650.                 {27, 22, 44, 175},
  651.                 {26, 180, 42, 200},
  652.                 "0",
  653.                 keepCase,
  654.                 "-di",
  655.                 "[--declaration-indentation<n>] Put varia"
  656.                 "ble names in column <n>. One may "
  657.                 "use a small value, e.g., 1 or 2, to caus"
  658.                 "e the identifiers to be placed in the fi"
  659.                 "rst available position. DEFAULTS: -di0, -di1, -di16"
  660.             },
  661.             /* [2] */
  662.             NotDependent {
  663.  
  664.             },
  665.             TriStateButtons {
  666.                 "",
  667.                 {    /* array threeStateArray: 1 elements */
  668.                     /* [1] */
  669.                     {65, 17, 81, 296}, "Blank line after comma in declarations", "-nbc", "", "-bc", "[--blank-lines-after-commas] Force a bla"
  670.                     "nk line after each comma in a declaratio"
  671.                     "n. DEFAULTS: -nbc, -nbc, -bc"
  672.                 }
  673.             },
  674.             /* [3] */
  675.             NotDependent {
  676.  
  677.             },
  678.             TriStateButtons {
  679.                 "",
  680.                 {    /* array threeStateArray: 1 elements */
  681.                     /* [1] */
  682.                     {83, 17, 100, 297}, "Procedure names start lines", "-npsl", "", "-psl", "[--procnames-start-lines] Place the type"
  683.                     " of a procedure on the line before its n"
  684.                     "ame. DEFAULTS: -psl, -npsl, -psl"
  685.                 }
  686.             },
  687.             /* [4] */
  688.             NotDependent {
  689.  
  690.             },
  691.             MultiRegularEntry {
  692.                 "Type names",
  693.                 {18, 308, 34, 425},
  694.                 {39, 311, 102, 462},
  695.                 {    /* array DefEntryList: 0 elements */
  696.                 },
  697.                 "-T",
  698.                 "Type in the names of all the types in yo"
  699.                 "ur program defined by ‘typedef’."
  700.             }
  701.         },
  702.         /* [6] */
  703.         210,
  704.         "Use this dialog to specify indentation p"
  705.         "arameters.",
  706.         {    /* array itemArray: 6 elements */
  707.             /* [1] */
  708.             NotDependent {
  709.  
  710.             },
  711.             RegularEntry {
  712.                 "Indent level",
  713.                 {27, 21, 43, 114},
  714.                 {27, 118, 43, 140},
  715.                 "2",
  716.                 keepCase,
  717.                 "-i",
  718.                 "[--indent-level<n>] When the beginning o"
  719.                 "f a statement (such as ‘if’ or ‘for’) is"
  720.                 " encountered, the indentation level is i"
  721.                 "ncreased by <n> spaces. DEFAULTS: -i2, -i4, -i4"
  722.             },
  723.             /* [2] */
  724.             NotDependent {
  725.  
  726.             },
  727.             RegularEntry {
  728.                 "Continuation",
  729.                 {53, 21, 70, 114},
  730.                 {53, 118, 70, 140},
  731.                 "0",
  732.                 keepCase,
  733.                 "-ci",
  734.                 "[--continuation-indentation<n>] When a s"
  735.                 "tatement is continued from a previous li"
  736.                 "ne, it is indented by <n> additional spa"
  737.                 "ces. DEFAULTS: ,,-ci4"
  738.             },
  739.             /* [3] */
  740.             NotDependent {
  741.  
  742.             },
  743.             TriStateButtons {
  744.                 "",
  745.                 {    /* array threeStateArray: 1 elements */
  746.                     /* [1] */
  747.                     {80, 19, 98, 281}, "Line up continuation at parentheses", "-nlp", "", "-lp", "[--continue-at-parentheses] Line up cont"
  748.                     "inued lines at parentheses. DEFAULTS: -lp, -lp, -lp"
  749.                 }
  750.             },
  751.             /* [4] */
  752.             NotDependent {
  753.  
  754.             },
  755.             RegularEntry {
  756.                 "Tab size",
  757.                 {26, 231, 42, 294},
  758.                 {26, 299, 42, 321},
  759.                 "8",
  760.                 keepCase,
  761.                 "-ts",
  762.                 "[--tab-size<n>] Set tab size to <n> spac"
  763.                 "es. Tabs are treated as the equivalent n"
  764.                 "umber of spaces. DEFAULTS: -ts8, -ts8, -ts8"
  765.             },
  766.             /* [5] */
  767.             NotDependent {
  768.  
  769.             },
  770.             RegularEntry {
  771.                 "Parameter indentation",
  772.                 {53, 231, 69, 389},
  773.                 {53, 392, 69, 412},
  774.                 "5",
  775.                 keepCase,
  776.                 "-ip",
  777.                 "[--parameter-indentation] Indent paramet"
  778.                 "er types in old-style function definitio"
  779.                 "ns by <n> spaces. DEFAULTS: -ip5, -ip0, -ip4"
  780.             },
  781.             /* [6] */
  782.             NotDependent {
  783.  
  784.             },
  785.             TriStateButtons {
  786.                 "",
  787.                 {    /* array threeStateArray: 1 elements */
  788.                     /* [1] */
  789.                     {201, 194, 100, 456}, "Space between `#' and directive", "-nlps", "", "-lps", "[--leave-preprocessor-space] Leave space"
  790.                     " between `#' and preprocessor directive."
  791.                     " This space is permitted by ANSI C. Inde"
  792.                     "nt removes it by default."
  793.                 }
  794.             }
  795.         },
  796.         /* [7] */
  797.         197,
  798.         "Use this dialog to set miscellaneous opt"
  799.         "ions.",
  800.         {    /* array itemArray: 5 elements */
  801.             /* [1] */
  802.             NotDependent {
  803.  
  804.             },
  805.             CheckOption {
  806.                 NotSet,
  807.                 {23, 24, 41, 213},
  808.                 "No profile",
  809.                 "-npro",
  810.                 "[--ignore-profile] Do not read informati"
  811.                 "on from 'Indent Prefs'."
  812.             },
  813.             /* [2] */
  814.             NotDependent {
  815.  
  816.             },
  817.             RegularEntry {
  818.                 "Maximum line length",
  819.                 {54, 26, 70, 171},
  820.                 {54, 180, 70, 205},
  821.                 "",
  822.                 keepCase,
  823.                 "-l",
  824.                 "[--line-length<n>] Set the maximum line "
  825.                 "length to <n>. DEFAULTS: , -l75, -l75"
  826.             },
  827.             /* [3] */
  828.             NotDependent {
  829.  
  830.             },
  831.             CheckOption {
  832.                 NotSet,
  833.                 {23, 234, 41, 439},
  834.                 "Troff output",
  835.                 "-troff",
  836.                 "Output troff-formatted document. This op"
  837.                 "tion is strongly deprecated and unsuppor"
  838.                 "ted (and quite useless on a Mac without "
  839.                 "A/UX or the like). May be replaced by a "
  840.                 "\"TeX output\" option in the future."
  841.             },
  842.             /* [4] */
  843.             NotDependent {
  844.  
  845.             },
  846.             CheckOption {
  847.                 NotSet,
  848.                 {41, 234, 57, 447},
  849.                 "Verbose",
  850.                 "-v",
  851.                 "[--verbose] Enable verbose mode: report "
  852.                 "when a line of input is split, and displ"
  853.                 "ay size statistics at completion."
  854.             },
  855.             /* [5] */
  856.             NotDependent {
  857.  
  858.             },
  859.             CheckOption {
  860.                 NotSet,
  861.                 {58, 234, 74, 442},
  862.                 "Show version",
  863.                 "-version",
  864.                 "Display the version number of this copy "
  865.                 "of Indent."
  866.             }
  867.         }
  868.     }
  869. };
  870.